package com.ruoyi.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务分析结果明细对象导出入参
 *
 * @author huangshibao
 * @date 2025-06-25
 */
@Data
public class TaskDetailResultParams extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 分行名称
     */
    private String branchName;


    /**
     * 支行名称
     */
    private String deptName;

    /**
     * 摄像头名称
     */
    private String cameraName;

    /**
     * 场景编号
     */
    private List<String> scenariosTypeList;

    private String scenariosType;


    /**
     * 风险开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 风险结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 检查状态(0:待复核；1:已复核)
     */
    private String checkStatus;

    /**
     * 任务类型
     */
    private String taskType;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("branchName", getBranchName())
                .append("deptName", getDeptName())
                .append("cameraName", getCameraName())
                .append("scenariosType", getScenariosType())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("checkStatus", getCheckStatus())
                .append("taskType", getTaskType())
                .toString();
    }
}
